﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using Phoenix.AppCode.Entities;
using Phoenix.AppCode.Data;
using System.Data;

namespace Phoenix.AppCode.Bussiness
{
    public class CorpInfoService
    {
        #region Backend Method
        /// <summary>
        /// Edit
        /// </summary>
        /// <param name="corpinfo"></param>
        public static void Edit(CorpInfo corpinfo)
        {
            CorpInfoDAO corpinfoDAO = new CorpInfoDAO();
            corpinfoDAO.Edit(corpinfo);
        }

        /// <summary>
        /// Show all
        /// </summary>
        /// <returns></returns>
        public static DataTable CorpInfoList()
        {
            CorpInfoDAO corpinfoDAO = new CorpInfoDAO();
            return corpinfoDAO.CorpInfoList();
        }
        /// <summary>
        /// Get to edit
        /// </summary>
        /// <returns></returns>
        public static CorpInfo GetCorpInfo()
        {
            CorpInfoDAO corpinfoDAO = new CorpInfoDAO();
            return corpinfoDAO.GetCorpInfo();
        }
        #endregion
    }
}